package com.cqtd.rebate.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 返利余额
 * @author colin
 *
 */
@Entity
@Table(name = "cq_rebate_rebatebalance")
public class RebateBalance implements Serializable {

	private static final long serialVersionUID = 8041951750089775945L;
	@Id
	@javax.persistence.GeneratedValue(generator = "system-uuid")
	@org.hibernate.annotations.GenericGenerator(name = "system-uuid", strategy = "uuid.hex")
	private String id;
	private Date rebateDate;//返利日期YYYY-MM-DD
	private Date rebateDetailDate;//返利详细日期 YYYY-MM-DD HH:MM:SS
	private Double rebateAmountSingle;//当日单个会员消费返利余额
	private Double rebateBalanceSum;//当日所有会员消费返利总余额
	private Integer billingMemberCount;//当日参与返利会员数
	private Integer year;//年
	private Integer month;//月
	private Integer day;//日
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Date getRebateDate() {
		return rebateDate;
	}
	public void setRebateDate(Date rebateDate) {
		this.rebateDate = rebateDate;
	}
	public Date getRebateDetailDate() {
		return rebateDetailDate;
	}
	public void setRebateDetailDate(Date rebateDetailDate) {
		this.rebateDetailDate = rebateDetailDate;
	}
	public Double getRebateAmountSingle() {
		return rebateAmountSingle;
	}
	public void setRebateAmountSingle(Double rebateAmountSingle) {
		this.rebateAmountSingle = rebateAmountSingle;
	}
	public Double getRebateBalanceSum() {
		return rebateBalanceSum;
	}
	public void setRebateBalanceSum(Double rebateBalanceSum) {
		this.rebateBalanceSum = rebateBalanceSum;
	}
	public Integer getBillingMemberCount() {
		return billingMemberCount;
	}
	public void setBillingMemberCount(Integer billingMemberCount) {
		this.billingMemberCount = billingMemberCount;
	}
	public Integer getYear() {
		return year;
	}
	public void setYear(Integer year) {
		this.year = year;
	}
	public Integer getMonth() {
		return month;
	}
	public void setMonth(Integer month) {
		this.month = month;
	}
	public Integer getDay() {
		return day;
	}
	public void setDay(Integer day) {
		this.day = day;
	}
}
